﻿using System;
using System.IO;
using System.Text;

namespace TaoTaoKeForQqWeibo
{
    internal class LogError
    {
        internal static void LogErrorToFile(Exception ex)
        {
            File.AppendAllText(Setting.Default.LogFile, ex.StackTrace + "\r\n\r\n", Encoding.UTF8);
        }
    }
}
